package com.ydh.company.utils;

import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * @Author:wkl
 * @Date: 2020/4/30 18:10
 * @Version 0.0.1-SNAPSHOT
 * 生成UUID的工具类
 */
@Component
public class UUIDUtil {

    public static String getId(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
}
